package org.jeecg.tender.project.dto.resp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class TenderProjectNoticeRespDto {

    /**主键id*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键id")
    private Integer id;
    @Excel(name = "项目名称", width = 15)
    @ApiModelProperty(value = "项目名称")
    private String subProject;
    /**项目名称*/
    private String subProjectName;
    /**通知人姓名*/
    @Excel(name = "通知人姓名", width = 15)
    @ApiModelProperty(value = "通知人姓名")
    private String noticeName;
    /**邮箱*/
    @Excel(name = "邮箱", width = 15)
    @ApiModelProperty(value = "邮箱")
    private String email;
    /**手机号*/
    @Excel(name = "手机号", width = 15)
    @ApiModelProperty(value = "手机号")
    private String phone;
    /**通知方式二进制;0-全部关闭,下标0-手机,下标1-邮箱*/
    @Excel(name = "通知方式二进制;0-全部关闭,下标0-手机,下标1-邮箱", width = 15)
    @ApiModelProperty(value = "通知方式二进制;0-全部关闭,下标0-手机,下标1-邮箱")
    private String status;

    /**
     * 短信通知开启状态; 1-开启
     **/
    private Integer phoneStatus;

    /**
     * 邮箱通知开启状态; 1-开启
     **/
    private Integer emailStatus;

    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**创建时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**最后修改时间*/
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "最后修改时间")
    private Date updateTime;

}
